//
//  UIButton-Extension.swift
//  Browser
//
//  Created by 刘光华 on 16/4/28.
//  Copyright © 2016年 liuguanghua. All rights reserved.
//

import UIKit


extension UIButton {
    
    convenience init(title: String, backgroundColor: UIColor, font: UIFont) {
        self.init()
        
        setTitle(title, forState: .Normal)
        titleLabel?.font = font
        self.backgroundColor = backgroundColor
        
    }
    
    
}
